package com.RMP
{
    import flash.display.*;
    import flash.events.*;

    public class NewsMenu extends Sprite
    {
        var myXMLList:XMLList;
        var fadeSpeed:Number;
        var myRoot:MovieClip;
        var paginatedMenu:PaginatedMenu;

        public function NewsMenu(param1:MovieClip, param2:Number, param3:XMLList) : void
        {
            myRoot = param1;
            fadeSpeed = param2;
            myXMLList = param3;
            paginatedMenu = new PaginatedMenu(myRoot, fadeSpeed, "News", myXMLList);
            addChild(paginatedMenu);
            myRoot.stage.addEventListener(Event.RESIZE, onResizer, false, 0, true);
            return;
        }

        function autoClick() : void
        {
            return;
        }

        function doResize() : void
        {
            return;
        }

        function switchCols(param1:Number) : void
        {
            return;
        }

        function onResizer(event:Event)
        {
            doResize();
            return;
        }

        function fadeBtns() : void
        {
            return;
        }

        public function fadeInShell() : void
        {
            visible = true;
            this.alpha = 1;
            if (myRoot.pathNames[1] != undefined)
            {
                paginatedMenu.currNavId = myRoot.pathNames[1] - 1;
            }
            paginatedMenu.fadeInShell();
            return;
        }

    }
}
